<?php $this->_element('header'); ?>

<!-- core -->
<div id="core" class="clearfix">
  <div class="container clearfix">

    <!-- 左侧栏 -->

    <div id="subpage_sidebar" class="left">

      <?php $this->_control('User_ControlPanel'); ?>

      <!--
      <form id="sub_search_form" name="sub_search_form" action="<?php echo url('projects/index'); ?>" method="get">
        <input type="text" class="txt" name="keyword" />
        <input type="submit" class="btn" name="Submit" value="搜索项目" />
      </form>
      -->

      <?php // $this->_control('TagsCloud', 'projects_tags', array('type' => 'project')); ?>

      <?php $this->_control('Projects_Categories'); ?>

      <?php $this->_control('Projects', 'popular_projects', array('order' => 'downloads_count DESC', 'title' => '最热门的项目')); ?>

      <?php $this->_control('Projects', 'ratings_projects', array('order' => 'rating DESC', 'title' => '评价最高的项目')); ?>

      <?php $this->_control('Projects', 'recents_projects', array('order' => 'updated DESC', 'title' => '最近更新的项目')); ?>

    </div>

    <!-- /左侧栏 -->

    <!-- 右侧栏 -->

    <div id="col3" class="right contents">

      <?php $this->_block('contents'); ?><?php $this->_endblock(); ?>

    </div>

    <!-- /右侧栏 -->

  </div>
</div>
<!-- /core -->

<?php $this->_control('footer'); ?>

